package team.tunan.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 *
 * </p>
 *
 * @author sqx
 * @since 2024-01-01
 */
@Getter
@Setter
public class Score implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 成绩id
     */
    @TableId(value = "sid", type = IdType.AUTO)
    private Integer sid;

    /**
     * 选手id
     */
    private Integer playerId;

    /**
     * 比赛id
     */
    private Integer mid;

    /**
     * 评委id
     */
    private Integer jid;

    /**
     * 票数
     */
    private Integer votes;

    /**
     * 评委打分
     */
    private BigDecimal judgesScoring;

    /**
     * 总分
     */
    private BigDecimal totalScore;

    /**
     * 是否获胜
     */
    private Integer win;

    /**
     * 属于哪一场大比赛
     */
    private Integer match_id;

    private Integer roundNum;

    private LocalDateTime createTime;

    private Integer status;


}
